widget: Don't check for natives
authorBenjamin Otte <otte@redhat.com>
Sat, 22 Feb 2020 01:47:41 +0000 (02:47 +0100)
committerBenjamin Otte <otte@redhat.com>
Sat, 22 Feb 2020 04:50:07 +0000 (05:50 +0100)
commit612ba7ec15aa985673e038ed9caa7a3e89418d48
tree09399227950bef799031f9f5b5e82b9cccf24385
parentf656cbdc5b28f7855710598ccfaa4ad621c7eb91
widget: Don't check for natives

It's the native's job to request a 1px x 1px size, not the job of
gtk_widget_size_allocate()

Also saves 10% of size_allocate() time because checking for an interface
is really expensive.
gtk/gtkwidget.c